#include<bits/stdc++.h>

using namespace std;
const int N=1e5+2;

int h[N],vis[N],n;

bool cmp(int a,int b)
{

    return a>b;
}

int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++)
    {
        int z;
        cin>>z;
        h[z]++;
    }
    sort(h+1,h+100001,cmp);
    cout<<h[1];
    return 0;
}
